from PIL import Image
import pytesseract
pytesseract.pytesseract.tesseract_cmd = r'E:\D其他软件\提效工具\tesseract-ocr\tesseract.exe'
the_image = Image.open(r'E:\PythonPlayground\Work\TestImagePDF\test_pic.png')
text = pytesseract.image_to_string(the_image, "chi_sim")
print(text)